
import java.util.Scanner;

/* Que 4:
 * This is thread class using extended thread class.
 */

/**
 *
 * @author savan
 */
public class P4_T extends Thread {
   
    public void run()
    {
        String s;
        System.out.print("Enter string :");
        Scanner s1 = new Scanner(System.in);
        s = s1.nextLine();
        System.out.println("Size of string : "+s.length());
    }
}
